feat: add file explorer with built-in text editor#2
Open
balin-ar wants to merge 3 commits intoibelick:mainfrom
Open
feat: add file explorer with built-in text editor#2balin-ar wants to merge 3 commits intoibelick:mainfrom
balin-ar wants to merge 3 commits intoibelick:mainfrom
Conversation
robbyczgw-cla
added a commit
to robbyczgw-cla/opencami
that referenced
this pull request
Feb 6, 2026
Cherry-picked from ibelick#2 Original author: balin-ar <rutiaapp@gmail.com> - File Explorer screen with sidebar navigation, breadcrumb, toolbar - Browse, upload, download, rename, delete files and folders - Built-in text editor for 30+ file types - Path jailing with symlink escape protection - Added FILES_ROOT config, updated README with credits
robbyczgw-cla
added a commit
to robbyczgw-cla/opencami
that referenced
this pull request
Feb 6, 2026
Contributor
|
Hey @balin-ar! 👋 Just wanted to drop by and say thanks — your file explorer here is great, I adapted it for my own fork (OpenCami) and it's become one of the most-used features. Also grabbed your cron jobs panel from your fork and cleaned it up a bit. Both credited in the changelog and source. Appreciate you sharing solid work! 🙌 |
Author
|
Hey! Appreciate the kind words 🙏 Glad the file explorer and cron panel are getting some love in OpenCami — that's exactly why we open source stuff. Cool project btw, will check it out! Let's keep building together! 🤙 |
- File Explorer screen with sidebar navigation, breadcrumb, toolbar - Browse, upload, download, rename, delete files and folders - Built-in text editor for 30+ file types (yaml, json, md, py, js, etc.) - Direct filesystem access via Node.js fs (no FileBrowser dependency) - Path jailing with symlink escape protection (FILES_ROOT env var) - Right-click context menu (Open, Edit, Download, Rename, Delete) - Double-click to open folders or edit text files - Ctrl+S to save, Esc to close editor - Link to file explorer from chat sidebar - Updated README with file explorer docs and .env configuration
- New /services route: service registry with health checks, status cards, add dialog - New /bots route: cron job management with run history, enable/disable, run-now - API endpoints: /api/services (CRUD + health ping), /api/cron (list, runs, trigger, toggle) - Sidebar updated with Services and Bots navigation links - All components follow existing webclaw patterns (TanStack Router, React Query, Tailwind)
a752825 to
3c7a39c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a full File Explorer screen with a built-in text editor to WebClaw.
Screenshot
Features
fsmodule via Nitro server endpoints (no FileBrowser dependency)FILES_ROOT.envconfiguration and file explorer setupNew
.envvariableArchitecture
src/server/filesystem.ts— Thin wrapper overnode:fs/promiseswith path validationsrc/routes/api/files/— list, read, save, download, upload, delete, rename, mkdir, infosrc/screens/files/— File explorer screen, sidebar, toolbar, breadcrumb, context menu, editorsrc/server/path-utils.ts— Path sanitization and traversal prevention